<!--#include file="..\CheckSession.inc"-->
<%
intstt=Request("intstt")
bmadonvi=Request("bmadonvi")
%>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel=stylesheet href="../CSS/ConveaStyle.css" type="text/css">
<style>
.clsB_Normal
{
	BACKGROUND-COLOR: transparent;		
	CURSOR: hand;
}
.clsB_Over
{
	BACKGROUND-COLOR: #B6BDD2;		
	CURSOR: hand;
	BORDER-BOTTOM: #0A246A 1px solid;
	BORDER-RIGHT: #0A246A 1px solid;
	BORDER-TOP: #0A246A 1px solid;
	BORDER-LEFT: #0A246A 1px solid;
}
.clsB_Selected
{
	BACKGROUND-COLOR: #B6BDD2;		
	CURSOR: hand;
	BORDER-BOTTOM: #0A246A 1px solid;
	BORDER-RIGHT: #0A246A 1px solid;
	BORDER-TOP: #0A246A 1px solid;
	BORDER-LEFT: #0A246A 1px solid;
}
</style>
<!--#include file=..\funTab.inc-->
<script language="javascript">
function bOut(sRow)
{	
	var r1=document.getElementById(sRow);	
	if (r1.className!='clsB_Selected');
	{	
		r1.className="clsB_Normal";	
	}
}
function bOver(sRow)
{
	var r1=document.getElementById(sRow);		
	if (r1.className!='clsB_Selected');
	{
		r1.className="clsB_Over";
	}
}
function itemClick(strmadonvi){
	//alert("<%=intstt%>");
	top.openner.parent.getElementById(Thanhphan<%=intstt%>).value="phuc";
	//alert(str);
}
</script>
</head>
<body style="cursor:default; background-color:white" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
	<%
		stt=1
		sSQl="select * from canbo where madonvi like '"& bmadonvi &"' order by stt1,stt2,stt3,ten,hovaten"
		Set Rec=server.CreateObject("ADODB.Recordset")
			Rec.CursorType=3
			Rec.CacheSize=5
			Rec.Open sSQL,Conn
			do while not Rec.EOF
			%>
			<tr>
				<td id="U<%=stt%>" onmouseout="javascript:bOut('U<%=stt%>');" onmouseover="javascript:bOver('U<%=stt%>');" onclick="javascript:itemClick('<%=Rec("madonvi")%>')">&nbsp;<%=Rec("hovaten")%></td>
			</tr>
			<%
				Rec.MoveNext
				stt=stt+1
			loop
		Rec.close
		set Rec=nothing
		%>
</table>
</body>
</html>